import random
import numpy as np

def generate_array():
    array = []
    for i in range(10):
        array.append(random.randint(0, 20))
    return array
